package first;

public class HelloWorld {
    private String message;
    private String countryName;
    private int count = 0;

    public String getCountryName() {
        System.out.println("Here is:\t" + countryName);
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public int getCount() {
        System.out.println("Count:\t" + ++count);
        return count;
    }

    public String getMessage() {
        System.out.println("Message is :" +message);
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private void init(){
        count = 1;
    }
}
